package haois.module.navigate.dao.mapper;

import haois.module.navigate.daomain.WebSite;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * Created by haol on 2017/4/22.
 */
@Repository
public interface WebSiteMapper {
    void addApp(@Param("app") WebSite app);

    List<WebSite> getAllApp();

    List<WebSite> getAppByAccount(@Param("account") String account);

    WebSite getByAppId(@Param("appId") String appId);

    List<WebSite> getByAccountAndWebName(@Param("account") String account, @Param("webName") String webName);


}
